package net.goutalk.glcs.module.bi.service;

import com.github.yulichang.base.MPJBaseService;
import net.goutalk.glcs.common.page.PageOutput;
import net.goutalk.glcs.module.bi.dto.CancelMenuDto;
import net.goutalk.glcs.module.bi.dto.ProjectPageDto;
import net.goutalk.glcs.module.bi.dto.PublishMenuDto;
import net.goutalk.glcs.module.bi.entity.Project;
import net.goutalk.glcs.module.bi.vo.ProjectPageVo;

import java.util.List;

/**
 * <p>
 * 项目表 服务类
 * </p>
 *
 * @author tanyujie
 * @since 2022-11-06
 */
public interface IProjectService extends MPJBaseService<Project> {


    PageOutput<ProjectPageVo> getPage(ProjectPageDto dto);

    /**
     * 发布菜单
     * @param dto
     * @return
     */
    boolean publishMenu(PublishMenuDto dto);

    /**
     * 取消发布
     * @param dto
     * @return
     */
    boolean cancelMenu(CancelMenuDto dto);

    /**
     * 删除项目
     * @param ids
     * @return
     */
    boolean deleteProject(List<Long> ids);
}
